package paycheck;

import junit.framework.Assert;
import junit.framework.TestCase;

public class PaycheckTest extends TestCase {

	public void test1(){
		Paycheck p = new Paycheck(10, 20);
		double salary = p.getSalaryPerWeek();
		Assert.assertEquals(200, salary, 1e-14);
	}
	
	public void test2(){
		Paycheck p = new Paycheck(10, 50);
		double salary = p.getSalaryPerWeek();
		Assert.assertEquals(550, salary, 1e-14);
	}
}
